<?php TPL::output('admin/admin_header.tpl.htm'); ?>

<?php if (defined('G_INDEX_SCRIPT') AND !strstr(G_INDEX_SCRIPT, '?')) { ?>
<base href="<?php echo get_setting('base_url');?>/<?php echo G_INDEX_SCRIPT; ?>" />
<?php } ?>

<style type="text/css">
	html,body {overflow:hidden;} 
</style>

<body>

<div id="body-wrapper">
     <div class="defalt_admin"><span class="logo"><a href="javascript:;" onClick="$('#rightIframe').attr('src', '<?php echo get_js_url('/admin/system/');?>');">后台管理</a></span>&nbsp;&nbsp;&nbsp;&nbsp;你好，<?php echo $this->user_info['user_name']; ?> &nbsp; • <a href="<?php echo get_setting('base_url'); ?>" target="_blank">访问网站首页</a> &nbsp;&nbsp;• <a href="admin/login/logout/">退出</a></div>
	<div id="sidebar" style="width:200px;border-right:1px solid #ccc;">
		<iframe src="<?php echo get_js_url('/admin/left/');?>" id="leftIframe" frameborder="0" scrolling="no" style="width:100%"></iframe>
	</div>

	<div style="margin:0 0 0 200px;">
		<iframe src="<?php echo get_js_url('/admin/system/');?>" id="rightIframe" style="width:100%;" frameborder="no" scrolling="auto"></iframe>
	</div>

</div>
</body>
</html>